colorscheme molokai

setlocal textwidth=80
setlocal smarttab
setlocal smartindent
setlocal autoindent
setlocal cinwords=and,as,assert,break,class,continue,def,del,elif,else,except,exec,finally,for,from,global,if,import,in,is,lambda,not,or,pass,print,raise,return,try,while,with,yield
""nmap <F5> <Esc>:!python %<CR>
""normal m`:%s/\s\+$//e ``

" Enable Syntax coloring
syntax on

" Automatic indention
filetype indent plugin on

" Tab Setting

"" How many columns a tab counts for, default is 8
setlocal tabstop=4

"" Hitting Tab in insert mode, produce the appropriate number of spaces
setlocal expandtab

"" Controls home many columns text is indented with the reident operations
setlocal shiftwidth=4

"" Control how many columns vim uses when you hit TAB in insert mode.
setlocal softtabstop=4

" adjust default colours
set background=dark

call tagbar#autoopen(0)

"Enable Directory tree"
autocmd vimenter * NERDTree
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif"

"Enable tagbar"
""let g:tagbar_ctags_bin='/usr/local/bin/ctags'  " Proper Ctags locations
""let g:tagbar_width=26
"":TagbarToggle

